package org.third.integration.kubernates.batch.bean;

/**
 * Created by liguoqi on 2017/12/12.
 */
public class KubePatchParam {

  private String namespace;

  private String type;

  private String apiVersion;

  private String name;

  private PatchResource patchResource;


  public String getNamespace() {
    return namespace;
  }

  public void setNamespace(String namespace) {
    this.namespace = namespace;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getApiVersion() {
    return apiVersion;
  }

  public void setApiVersion(String apiVersion) {
    this.apiVersion = apiVersion;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public PatchResource getPatchResource() {
    return patchResource;
  }

  public void setPatchResource(PatchResource patchResource) {
    this.patchResource = patchResource;
  }

  @Override
  public String toString() {
    return "KubePatchParam{" +
        "namespace='" + namespace + '\'' +
        ", type='" + type + '\'' +
        ", apiVersion='" + apiVersion + '\'' +
        ", name='" + name + '\'' +
        ", patchResource=" + patchResource +
        '}';
  }


  public KubePatchParam(String namespace, String type, String apiVersion, String name,
      PatchResource patchResource) {
    this.namespace = namespace;
    this.type = type;
    this.apiVersion = apiVersion;
    this.name = name;
    this.patchResource = patchResource;
  }

  public KubePatchParam() {
  }

  public KubePatchParam(String namespace, String type, String apiVersion, String name) {
    this.namespace = namespace;
    this.type = type;
    this.apiVersion = apiVersion;
    this.name = name;
  }
}
